<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<table>
    <thead>
    <tr style="font-weight: bolder">
        <td>编号</td>
        <td>考试名称</td>
        <td>考试分类</td>
        <td>科目</td>
        <td>参加次数</td>
        <td>开考时间</td>
        <td>截至进入考场时间</td>
        <td>考试时长</td>
        <td>应考人数</td>
    </tr>
    </thead>
    <tbody>

    @foreach($examinations as $examination)
    <tr>
        <td>{{ $examination->id }}</td>
        <td>{{ $examination->name }}</td>
        <td>{{ $examination->category->name }}</td>
        <td>{{ $examination->subject->name}}</td>
        <td>无限制</td>
        <td>{{ $examination->start_time }}</td>
        <td>{{ $examination->over_time }}</td>
        <td>{{ $examination->timer }}</td>
        <td>无限制</td>
    </tr>
    @endforeach

    </tbody>
</table>
</body>
</html>
